<template>
  <div class="box6">
    <h1>子组件</h1>
    <h2>动态绑定props</h2>
    <h3>{{ init }}</h3>
    <h3>{{ init.$attrs }}</h3>
  </div>
</template>

<script setup>
const props = defineProps(["init"]);

console.log(props.init);
console.log(props);
</script>

<style>
.box6 {
  border: 1px solid red;
}
</style>
